//
//  TitleBarView.h
//  oschina_song
//
//  Created by song on 16/1/25.
//  Copyright © 2016年 song. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TitleBarView : UIScrollView

@property(nonatomic ,strong)NSMutableArray  *titleButtons;

@property(nonatomic , assign) int currentIndex;

@property(nonatomic, copy) void (^titleButtonCLicked)(NSUInteger index);

-(instancetype) initWithFrame:(CGRect)frame andTitles:(NSArray *)titles;


@end
